package com.wxzz.elearing.course.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class WxUserStudyPlan extends BaseEntity {

    @ApiModelProperty(value = "学习计划id")
    private Long studyPlanId;

    @ApiModelProperty(value = "用户id")
    private Long wxUserId;

    @ApiModelProperty(value = "状态 0-可考 1-禁考")
    private Integer examStatus;

    @TableField(exist = false)
    @ApiModelProperty(value = "昵称")
    private String nickname = "被删除用户";

    @TableField(exist = false)
    @ApiModelProperty(value = "头像")
    private String icon;

    @TableField(exist = false)
    @ApiModelProperty(value = "手机号")
    private String phone;

    @TableField(exist = false)
    @ApiModelProperty(value = "部门名称")
    private String organizationName = "无";

    @TableField(exist = false)
    @ApiModelProperty(value = "职位名称")
    private String identityName = "无";

    @TableField(exist = false)
    @ApiModelProperty(value = "学习进度 xx.xx%")
    private BigDecimal studySchedule = new BigDecimal("0.00");

}
